Skip to content

feat: 리캡·무드 추천 API와 테스트 데이터 완성#18

Merged
manNomi merged 7 commits into
mainfrom
codex/mobile-recap-location-contract-v2
Jul 23, 2026
Merged

feat: 리캡·무드 추천 API와 테스트 데이터 완성#18
manNomi merged 7 commits into
mainfrom
codex/mobile-recap-location-contract-v2

Conversation

@manNomi

@manNomi manNomi commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

작업 내용

  • Recap, MomentLog, TravelSession의 공개 범위·템플릿·대표 썸네일·경로 좌표 계약과 Prisma 마이그레이션을 추가했습니다.
  • 전체/다른 사람/내 로그 및 지도 마커 조회, 핀 상세와 대표 썸네일 변경 흐름을 실제 DB와 mock service에 동일하게 반영했습니다.
  • 5개 무드별 추천 플레이리스트와 다중 사용자 공개 리캡/로그 테스트 데이터를 seed에 추가했습니다.
  • 관광지 검색, 주변 장소, 한국어 역지오코딩 API와 실패 fallback을 추가했습니다.
  • OpenAPI 문서, 공개 API 계약 검사, Express-OpenAPI 경로 동기화 검사와 라이브 E2E 스크립트를 최신화했습니다.
  • API/서비스/seed 테스트를 보강해 공개 범위, 무드 추천, 위치 및 리캡 계약을 검증합니다.

검증

  • npm run typecheck
  • npm run test:coverage (4 files, 36 tests)
  • npm run check:openapi-sync (63 operations)
  • PUBLIC_API_BASE_URL=http://localhost:4100 npm run check:public-api-contract
  • git diff --cached --check

참고

  • 신규 Prisma 마이그레이션 3개가 포함되어 있어 배포 시 npm run db:deploy가 필요합니다.
  • 운영 도메인 soundlog.shop은 현재 DNS 조회가 실패해 공개 계약 검사는 로컬 mock DB 서버로 완료했습니다.

@manNomi manNomi changed the title fix: 리캡 공유 위치 계약 보강 feat: 리캡 지도와 여행 경로 API 계약 보강 Jul 12, 2026
@manNomi manNomi changed the title feat: 리캡 지도와 여행 경로 API 계약 보강 feat: 리캡·무드 추천 API와 테스트 데이터 완성 Jul 14, 2026
manNomi and others added 3 commits July 14, 2026 23:06
- P1: recapShare 응답에 travelSession의 startedAt/endedAt 포함
  (소유자에게만) → 프론트 여행 시간 계산이 실제 세션 시간 기준으로 동작
- P2: travelSession PATCH에 travelMode 수용 및 DB 반영
- P3: getRecapMarkers에서 radiusMeters 쿼리 파라미터 실제 사용
- P3: mock 서비스도 동일하게 radiusMeters 적용

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@manNomi manNomi closed this Jul 23, 2026
@manNomi manNomi reopened this Jul 23, 2026
@manNomi
manNomi merged commit ad57b6a into main Jul 23, 2026
@manNomi
manNomi deleted the codex/mobile-recap-location-contract-v2 branch July 23, 2026 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant